package com.tanhua.dubbo.api;

import com.tanhua.domain.db.Settings;

public interface SettingsApi {

    //根据用户的id查找用户的设置
    Settings findByUserId(Long id);

    //保存用户的通知设置
    void save(Settings settings);

    //修改用户的通知
    void update(Settings settings);
}
